<template>
  <div class="prior-window">
    <div class="left-window">
      <img class="left-window-img" src="@/components/icons/left.png" />
    </div>
    <div class="right-window">
      <router-view></router-view> 
    </div>
  </div>
</template>

<script setup>

</script>

<style lang="scss" scoped>
.prior-window{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  height: 100vh;
  .left-window{
    width: 60%;
    height: 100%;
    .left-window-img{
      display: block;//这里设置block去除图片的底下空格（老毛病了）,或者在外头添加flex布局消除
      width: 100%;
      height: 100%;
      object-fit: cover;
      opacity: 0.9;
    }
  }
  .right-window{
    width: 50%;
    height: 100%;
    background-color: #f5f5f5;
    display: flex;//居中布局
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }
}
</style>